package com.jiandian.service;

import com.jiandian.entity.SignPrize;
import com.jiandian.entity.SignUser;
import com.jiandian.page.PageInfo;

import java.util.List;

/**
 * 奖品
 *
 * @author houqi Fu
 * @date 2018/12/15
 */
public interface SignPrizeService {

    SignPrize add(SignPrize record);

    SignPrize update(SignPrize record);

    SignPrize findById(Integer id);

    List<SignPrize> findAll(PageInfo pageInfo);

    int selectCount(PageInfo pageInfo);

    int batchInsert(List<SignPrize> list);

    List<SignPrize> batchQueryByIds(List<Integer> ids);

    int delete(Integer id);

    int delete(SignPrize record);

    int batchDeleteById(List<Integer> ids);
    PageInfo getPage(SignPrize whereEntity, PageInfo pageInfo);

}
